import request from '@/utils/request'

// 查询反馈列表
export function listFeedback(query) {
  return request({
    url: '/community/feedback/feedbackUsers',
    method: 'get',
    params: query
  })
}

// 更新反馈状态
export function updateFeedback(data) {
  return request({
    url: '/community/feedback/update',
    method: 'put',
    data: data
  })
}

// 提交惩罚类型反馈
export function submitPunishFeedback(data) {
  return request({
    url: '/community/feedback/punishTypes',
    method: 'post',
    data: data
  })
} 